Skip to main content

CreateWhiteList

Description

No description for this api.

Request Method

POST

Request Path

/apsara/route/Ddosprivate/CreateWhiteList

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
DestinationIpBODYstringNoNo sample value for this parameter.target IP. description when adding bwaf source IP whitelist (that is, the Type parameter value is 12), the DestinationIp parameter value must be 0.0.0.0 by default.
TypeBODYintegerYesNo sample value for this parameter.whitelist types, including: 6: indicates that the host brute force cracked the whitelist 12: indicates bwaf source IP whitelist 15: indicates application attack whitelist
UsernameBODYstringNoNo sample value for this parameter.add the user name of the whitelist record.
regionIdBODYstringYesNo sample value for this parameter.region id
SourceIpStrBODYstringNoNo sample value for this parameter.source IP.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIdstringno demo valuerequest ID.

Example

Successful Response example

{
"RequestId":"no demo value"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}